package com.century.sjt.entity;

import java.util.ArrayList;
import java.util.List;

public class ItemBean {

    public String itemImageResid;
    public String itemTitle;
    public String itemContent;
    public String itemTime;
    public String itemImage;
    public String topicId;
    public String shareUrl;
    public String userId;
    public int praiseNum;
    public int commentNum;

    public List<Comment> commentList = new ArrayList<>();
    public List<Praise> praiseList = new ArrayList<>();
    public SjtUser user;
    public String praiseNameList;


//    public ItemBean(List<Praise> praiseList,String praiseNameList, List<Comment> commentList, String itemTime, String itemContent,
//                    String itemImage, String topicId
//            , int praiseNum, int commentNum,String shareUrl,SjtUser user) {
//        this.setPraiseList(praiseList);
//        this.setPraiseNameList(praiseNameList);
//        this.setCommentList(commentList);
//        this.setItemContent(itemContent);
//        this.setItemTime(itemTime);
//        this.setItemImage(itemImage);
//        this.setTopicId(topicId);
//        this.setPraiseNum(praiseNum);
//        this.setCommentNum(commentNum);
//        this.setShareUrl(shareUrl);
//        this.setUser(user);
//    }

    public String getItemImageResid() {
        return itemImageResid;
    }

    public void setItemImageResid(String itemImageResid) {
        this.itemImageResid = itemImageResid;
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public String getItemContent() {
        return itemContent;
    }

    public void setItemContent(String itemContent) {
        this.itemContent = itemContent;
    }

    public String getItemImage() {
        return itemImage;
    }

    public void setItemImage(String itemImage) {
        this.itemImage = itemImage;
    }

    public String getItemTime() {
        return itemTime;
    }

    public void setItemTime(String itemTime) {
        this.itemTime = itemTime;
    }

    public String getTopicId() {
        return topicId;
    }

    public void setTopicId(String topicId) {
        this.topicId = topicId;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public int getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(int praiseNum) {
        this.praiseNum = praiseNum;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }

    public List<Praise> getPraiseList() {
        return praiseList;
    }

    public void setPraiseList(List<Praise> praiseList) {
        this.praiseList = praiseList;
    }

    public SjtUser getUser() {
        return user;
    }

    public void setUser(SjtUser user) {
        this.user = user;
    }

    public String getPraiseNameList() {
        return praiseNameList;
    }

    public void setPraiseNameList(String praiseNameList) {
        this.praiseNameList = praiseNameList;
    }
}
